import request from '@/sheep/request';

export default {
    // 获取轮播图列表
    getBannerList: (position) => {
        return request({
            url: '/promotion/banner/list',
            method: 'GET',
            params: { position }
        });
    },
    addBrowseCount: (id) => {
        return request({
            url: '/promotion/banner/add-browse-count',
            method: 'PUT',
            params: { id }
        });
    }
}
